from applications.extensions import db
from applications.models import Power

def init_bigscreen():
    power1 = Power(name="大屏", type="0", code="bigscreen", url="/bigscreen/index", open_type="_iframe", parent_id=0, icon="layui-icon layui-icon-chart", sort=99, enable=1)
    db.session.add(power1)
    db.session.commit()